projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e46bd
)
gtk-demo: Fix toggle- vs checkbutton confusion
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Sep 2020 03:07:21 +0000
(23:07 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Sep 2020 03:07:21 +0000
(23:07 -0400)
demos/gtk-demo/markup.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/markup.c
b/demos/gtk-demo/markup.c
index 900436f6e70ddacaaf85d33a49d37ae6ede97cf6..8d19529f30a60bc1205259de9a97c22d6bd74647 100644
(file)
--- a/
demos/gtk-demo/markup.c
+++ b/
demos/gtk-demo/markup.c
@@
-14,9
+14,9
@@
static GtkWidget *view;
static GtkWidget *view2;
static void
-source_toggled (Gtk
Toggle
Button *button)
+source_toggled (Gtk
Check
Button *button)
{
- if (gtk_
toggle
_button_get_active (button))
+ if (gtk_
check
_button_get_active (button))
gtk_stack_set_visible_child_name (GTK_STACK (stack), "source");
else
{